Package eu.europa.ec.taxud.cesop.domain
Enum Class MessageTypeIndicEnum
- All Implemented Interfaces:
Serializable,Comparable<MessageTypeIndicEnum>,java.lang.constant.Constable
Enum for Message Type Indic.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageTypeIndicEnumfindByLabel(String label) Find aMessageTypeIndicEnumby its label.getLabel()Gets label.static MessageTypeIndicEnumReturns the enum constant of this class with the specified name.static MessageTypeIndicEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CESOP100
Cesop 100 message type for new data. -
CESOP101
Cesop 101 message type for corrections. -
CESOP102
Cesop 102 message type for no data.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getLabel
Gets label.- Returns:
- the label
-
findByLabel
Find aMessageTypeIndicEnumby its label.- Parameters:
label- the label- Returns:
- the
MessageTypeIndicEnum - Throws:
IllegalArgumentException- if there is no value for the label
-